package com.qfedu.aunt.commons.service;

import com.qfedu.aunt.commons.aop.BehaviorLog;
import com.qfedu.aunt.commons.pojo.Behavior;
import com.baomidou.mybatisplus.extension.service.IService;
import org.aspectj.lang.ProceedingJoinPoint;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaobobo
 * @since 2022-11-15
 */
public interface BehaviorService extends IService<Behavior> {
    /**
     * 添加我们的用户行为
     * @param proceedingJoinPoint
     * @param behaviorLog
     */
    String add(ProceedingJoinPoint proceedingJoinPoint, BehaviorLog behaviorLog);

    /**
     * 更新我们的行为记录
     * @param behaviorId
     * @param status
     */
    void updateBehavior(String behaviorId, int status);
}
